package glossos.tree.snapshot;

import com.google.common.base.Predicate;
import glossos.tree.Node;

public class NodeWordPredicate implements Predicate<Node> {
	private String word;
	
	public NodeWordPredicate(String word) {
		this.word = word;
	}

	public boolean apply(Node input) {
		return word.equals(input.getWord());
	}
}
